Inherits from NSObject
Declared in IMInterstitial.h

Properties

delegate

The delegate to receive callbacks

@property (nonatomic, weak) id<IMInterstitialDelegate> delegate

Discussion

The delegate to receive callbacks

Declared In

IMInterstitial.h

extras

Any additional information to be passed to InMobi.

@property (nonatomic, strong) NSDictionary *extras

Discussion

Any additional information to be passed to InMobi.

Declared In

IMInterstitial.h

keywords

A free form set of keywords, separated by ‘,’ to be sent with the ad request. E.g: “sports,cars,bikes”

@property (nonatomic, strong) NSString *keywords

Discussion

A free form set of keywords, separated by ‘,’ to be sent with the ad request. E.g: “sports,cars,bikes”

Declared In

IMInterstitial.h

Instance Methods

initWithPlacementId:

Initialize an Interstitial with the given PlacementId

- (instancetype)initWithPlacementId:(long long)placementId

Parameters

placementId

The placementId for loading the interstitial

Discussion

Initialize an Interstitial with the given PlacementId

Declared In

IMInterstitial.h

initWithPlacementId:delegate:

Initialize an Interstitial with the given PlacementId

- (instancetype)initWithPlacementId:(long long)placementId delegate:(id<IMInterstitialDelegate>)delegate

Parameters

placementId

The placementId for loading the interstitial

delegate

The delegate to receive callbacks

Discussion

Initialize an Interstitial with the given PlacementId

Declared In

IMInterstitial.h

isReady

To query if the interstitial is ready to be shown

- (BOOL)isReady

Discussion

To query if the interstitial is ready to be shown

Declared In

IMInterstitial.h

load

Loads an Interstitial

- (void)load

Discussion

Loads an Interstitial

Declared In

IMInterstitial.h

showFromViewController:

Displays the interstitial on the screen

- (void)showFromViewController:(UIViewController *)viewController

Parameters

viewController,

this view controller will be used to present interestitial.

Discussion

Displays the interstitial on the screen

Declared In

IMInterstitial.h

showFromViewController:withAnimation:

Displays the interstitial on the screen

- (void)showFromViewController:(UIViewController *)viewController withAnimation:(IMInterstitialAnimationType)type

Parameters

type

The transition type for interstitial presentation.

viewController,

this view controller will be used to present interestitial.

Discussion

Displays the interstitial on the screen

Declared In

IMInterstitial.h